Process libraries by writing and reading from separate temporary files