parse_filename (version 1.1)

You can also look at: