Added loop option to file playback. Default is off.