file.spec rewritten