Add file interface

Fix typo