add require fs, stop crashing on trades ;)