restrict resume to only pdf