resume file validation fix