recover file resource for install dir