ResourceResolver now can resolve file for read and write.