Implementing file resource TODO

Already done in code_root2, also doing in code_root1.