move File class to its own package