Added file functions

Left off half way through file size change