Added more to file module. Still COMPLETELY untested (and likely borken).