some optimizations on the file resources. removed isDynamic, and doing
our own uri processing for file names.