Sort file listing alphabetically.
Create a record for a requested file if it doesn't already exist.