Fixed note creation from file.