Added function to close not existing files.