Refactor CLI specs with FileHelper#create_file