server: rudimentary collection stuff, parsing metadata out of filenames