Cleaned up junction.js, every type of file is now a decendent from TServerFile, which have some base functions for every file