improved validity of files