AdapterInterface based on file

AdapterInterface based on file

Fix filesystem

Fix phpspec