Fixing LocalFile callbacks.