handle application files on form error