File not found update

Now adds missing directory if not found.