Remove comments and iamge file