CP-5731: Modifies build file to accept right file list right format