update coreos instances to 5
make file helper functions part of File class