Why not defining this class in an other file:

core/fs/local
core/fs/github