Fixed an obtainment of filenames in the bulk-read
Removed unused code
Renamed proxy_t2 to proxy_t