move methods to CabalFile.Types
move methods to VersionFile.Types