revert for file in resources