added file error model