Added extended file loading
Fixed formatting in ext file
Abstractified devices.