Updated to ignore logfiles