Procedure for filing an appeal in criminal cases