The previous code did not check for minimum length of the filename. The amendment limits it to 50, so that it can accommodate at least some reasonable portion of the book title and the full electronic ISBN. The maximum filename length may go below 50 if the user used a very long download directory path. If the minimum is breached, the user would be notified and a shorter download directory path would be suggested in order to remedy the problem.
The previous code did not check for minimum length of the filename. The amendment limits it to 50, so that it can accommodate at least some reasonable portion of the book title and the full electronic ISBN. The maximum filename length may go below 50 if the user used a very long download directory path. If the minimum is breached, the user would be notified and a shorter download directory path would be suggested in order to remedy the problem.