File management overhaul
Updated from master
Using lowercase hex