Moves File.js into a separate function namespace