add file resource