mono: file refactoring