Opening file.