The current code to parse HEC RAS input files scans the same file multiple times. A new better approach is adopted in forcingdata endpoint that only scans one file.
The other code should be refactored to adopt the same approach to improve performance.