Updated PdFileParser to handle missing and empty files and be able to
report back an error code.