Fixed the problem of as.db.data.frame with file

No need to use file's full path anymore