Internal generating of fileId