Simulator now correctly checks for file-folder dependency