debugging function to import corpus attributes from document filenames