Abstracted filename_parser