added feature to process file through ObjectId