added the function bd_create to create a new file entry