catch and throw partial file exceptions