Added background file insertion