new functions writeEntryToDirectory and extractFilesToDirectory