refactor: change mkfile