fixed file things because we were returning file size