Added loop options to files.