add file methods