pry removed, file and pathname can be used as arguments for ::new