Fix for linux not reading files in order