Fixed the validity of the file