Files are writing and linking