reifyEffectsHere workaround for scheduling bug with effectful loops; explicit sort when sourcing FileReader with a directory