set up file and spec file