Split a functionality in a files.