Added function for promoting type 0 files to type 1