Seg Fault fixed (too many open files)