Opens file or creates one if it doesn't exists