Added extra "empty" check to web file methods of FileIO