Move rake task to new file.