how to use files