Added case that no file is specified