change null to empty for the test of makeFile property

Testing null cause a fatal error on loading /js/bootstrap.js