moved /files into resources class