Actually get local files working and added refresh button