added insert for file types