local file improvements