add checks for more file types