added more file methods