Question: could not complete your request because the file format module cannot parse the file?
Answer: Photoshop does not try to autodetect the file format - it trusts that you have saved the file with the proper extension, and uses that format to try to open it. Your solution will be to make sure Close b. png is named with the proper file extension for its actual type.