Moved to a factory for creating/listing notefiles