now initializes with files