Corrected conflicting syntax and added testing clause for file descriptor argument value