Invalid file type solution to the problem I do not know