Make file rules stricter
Make image empty check more upload specific