Moved filetype decision stuff into gcodefiles module