A method and computer-readable medium are provided for storing files in an
official file repository. According to the method, a generic interface is
exposed that includes a first method for requesting that a file be stored
in a file vault. A record series is maintained that identifies one or
more document types that may be stored in the file vault along with a
location for each file type within the file vault where files of the type
should be stored. A call may be made to the first method including the
file to be stored in the file vault. In response to the call, a location
for storing the file in the file vault may be identified based on the
contents of the record series. Once the location has been identified, the
file is stored in the identified location if the file type is in the
record series. If the file type is not in the record series or the
necessary property values are not received with the call, the file is
placed in a holding zone portion of the file vault. The generic interface
may further expose a second method for retrieving the file types
identified in the record series and a third method for retrieving one or
more properties associated with a file type identified in the record
series.