filename increament and filldb script rewriten to solve error

two file change 
1)file.py
 logic implement to increament the file name if upload more than one file 
2)filldb.py
written logic to correct that filldb error