Proper handling of files when one is not required and nothing is provided.