Proper file stacking