Is it possible to create a files in SPIFFS without sketch upload?

I have a esp8266, i try to upload a files in spiffs with/without sketch upload option available in arduino. using sketch upload option it work..a new file is created in spiffs.but when i try to create a new files using code (filename.open("/testme.txt","w")) its does not create any file in spiffs. how can over come this problem??

Your post is titled "Is it possible to create a files in SPIFFS without sketch upload?", but the text says you want to create the SPIFFS file using code. Which is it you want?

yes it is possible.
here is the example