open new file, flip, gradient, save methods added