Further improved the filename check on static file editor